package com.yzt.zhuju.activity

import android.view.View
import androidx.viewbinding.ViewBinding

/**
 * @Desc
 * @Author macjay
 * @Time 2022/12/19 17:27
 */
abstract class BaseViewBindingActivity<VB : ViewBinding> : BaseActivity() {

    lateinit var viewBinding: VB

    override fun getContent(): View {
        viewBinding = generateViewBinding()
        return viewBinding.root
    }

    abstract fun generateViewBinding(): VB
}